﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TemplatePageList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Template.Template.TemplatePageList" %>


<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>


<%=_framePage.TabInfoHtml()%>

<div class="pageHeader">
	<div class="searchBar">
    <table class="searchContent" border="0" cellspacing="0" cellpadding="0" >
    	<tr>
    		<td></td>
            <td>
            </td>
    	</tr>
    </table>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Template/Template/TemplatePageDetail.aspx?tid=<%=Request["tid"] %>" target="navTab" rel="PageDetail" title="页面明细"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Template/Template/TemplatePageDelete.aspx" target="selectedTodo" title="请确定要删除勾选页面"><span>删除</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" targetType="navTab">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="100px">名称</th>
				<th width="200px">效果图</th>
				<th width="120px">页面类型</th>
				<th width="100px">页面等级</th>
				<th width="120px" align="center">内容管理</th>
				<th width="120px" align="center">基本操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeater1">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td height="30px"><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
				    <td><%# Eval("Name")%></td>	   
                    <td align="center"><img src="<%# ZLCMS.Business.Util.FileKit.FirstFilePath(Eval("PreviewUrl"))%>" alt="效果图" height="150" /></td>
				    <td><%#ZLCMS.Business.Util.ParamKit.GetValue("template_pages_kind", Eval("Kind"), "未知")%></td>		    		
                    <td><%# ZLCMS.Business.Util.ParamKit.GetValue("template_pages_level", Eval("PageLevel"), "未知")%></td>	
				    <td align=center>
                    <%#GetContent(Container.DataItem)%>
                    </td>
				    <td align=center>
         				<a href="/SystemManage/Template/Template/TemplatePageDetail.aspx?uid=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="navTab" rel="PageDetail" title="页面明细">编辑</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Template/Template/TemplatePageDelete.aspx?ids=<%# Eval("Id")%>" onclick="ZLAN_DWZ_EX.open(this);" target="ajaxTodo" title="请确定要删除当前页面">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>

<%= _framePage.GetPagerContentHtml() %>


</div>
